﻿GO
IF NOT EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'[dbo].[EntityAttributeType]') AND type in (N'U'))
BEGIN
CREATE TABLE [dbo].[EntityAttributeType](
	[ID] nvarchar(10) NOT NULL,
	[EntityTypeID] [int] NOT NULL,
	[Name] [nvarchar](50) NOT NULL,
 CONSTRAINT [PK_EntityAttributeType] PRIMARY KEY CLUSTERED 
(
	[ID] ASC
)WITH (IGNORE_DUP_KEY = OFF) ON [PRIMARY]
) ON [PRIMARY]
END
GO

 